﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="css/jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" />
    <link href="css/facebox.css" rel="stylesheet" type="text/css" />
    <script src="javascript/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="javascript/facebox.js" type="text/javascript"></script>
    <script src="javascript/jquery.lightbox-0.5.min.js" type="text/javascript"></script>
      <script type="text/javascript">
    $(document).ready(function($) {
//      $('a[rel*=facebox]').facebox({
//        loadingImage : 'images/loading.gif',
//        closeImage   : 'images/closelabel.png'
//      })

//var pObject=$("#content a").click(function(){
//// var pObject=$(this).parent();
//// var parentID=$(pObject).attr("id");
////  alert(parentID)
//$("#gallery a").lightBox();
//});
$("#gallery a").lightBox();
    })
  </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="content">
    <div id="gallery">
    <a href="http://img4.vipshop.com/upload/merchandise/4262/JustinTime-JWIFE004012-1_1.jpg" rel="facebox"  ><img src="images/logo/taobao.jpg" style="border:0px" / ></a>
        <a href="http://img4.vipshop.com/upload/merchandise/4262/JustinTime-JWIFE004012-2_3.jpg" rel="facebox"  ><img src="images/logo/taobao.jpg" style="border:0px" / ></a>
            <a href="http://img4.vipshop.com/upload/merchandise/4262/JustinTime-JWIFE004012-1_1.jpg" rel="facebox"  ><img src="images/logo/taobao.jpg" style="border:0px" / ></a>
                <a href="http://img4.vipshop.com/upload/merchandise/4262/JustinTime-JWIFE004012-1_1.jpg" rel="facebox"  ><img src="images/logo/taobao.jpg" style="border:0px" / ></a>
    </div>
    </div>
    </form>
</body>
</html>
